package com.cyys.modules.system.dao.user;

import com.cyys.common.mapper.CyysBaseMapper;
import com.cyys.modules.system.model.user.UserRole;
import org.apache.ibatis.annotations.Param;

public interface UserRoleDao extends CyysBaseMapper<UserRole> {

	/**
	 * 根据角色编号删除记录
	 * 
	 * @param userId
	 * @throws Exception
	 */
	void deleteByUserId(@Param(value = "userId") String userId);

}
